package me.codegenerator2.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * @author zhongfs
 */

public interface GeneratorMysqlFromExcelService {

    /**
     * @param file      接收到的文件
     * @param tableName 指定的表名
     * @return String 字符串
     * @author zhongfs
     */
    String generatorMysqlFromExcel(MultipartFile file, String tableName) throws Exception;

    /**
     * @author zhongfs
     */
    byte[] generatorMysqlFromExcelZip(String comments, String fileName);

}
